package com.ease.map.control {
   import com.ease.map.Map;
   import com.ease.map.geometry.basetype.Pixel;

   /**
    * 地图上的控件接口.如：比例尺、导航条、操作工具条等
    */
   public interface IControl {
      function get map():Map;

      function set map(value:Map):void;

      function get active():Boolean;

      function set active(value:Boolean):void;

      function set visiable(value:Boolean):void;

      function draw():void;

      function destroy():void;

      function set position(px:Pixel):void;

      function get position():Pixel;

      function get x():Number;

      function set x(value:Number):void;

      function get y():Number;

      function set y(value:Number):void;
   }
}